code: function slideTo(newPos, immediate) {
              // Align items
              if (itemNav && dragging.released) {
                  var tempRel = getRelatives(newPos),
                      isDetached = newPos > pos.start && newPos < pos.end;
  
                  if (centeredNav) {
                      if (isDetached) {
                          newPos = items[tempRel.centerItem].center;
                      }
                      if (forceCenteredNav) {
                          self.activate(tempRel.centerItem, 1);
                      }
                  } else if (isDetached) {
                      newPos = items[tempRel.firstItem].start;
                  }
              }
  
              // Handle overflowing position limits
              if (!dragging.released && dragging.source === 'slidee' && o.elasticBounds) {
                  if (newPos > pos.end) {
                      newPos = pos.end + (newPos - pos.end) / 6;
                  } else if (newPos < pos.start) {
                      newPos = pos.start + (newPos - pos.start) / 6;
                  }
              } else {
                  newPos = within(newPos, pos.start, pos.end);
              }
  
              // Update the animation object
              animation.start     = +new Date();
              animation.time      = 0;
              animation.from      = pos.cur;
              animation.to        = newPos;
              animation.delta     = newPos - pos.cur;
              animation.immediate = immediate;
  
              // Attach animation destination
              pos.dest = newPos;
  
              // Reset next cycle timeout
              resetCycle();
  
              // Synchronize states
              updateRelatives();
              updateNavButtonsState();
              syncPagesbar();
  
              // Render the animation
              if (newPos !== pos.cur) {
                  trigger('change');
                  if (!renderID) {
                      render();
                  }
              }
          }
docs: Animate to a position.
  
  @param {Int}  newPos    New position.
  @param {Bool} immediate Reposition immediately without an animation.
  
  @return {Void}