code: function to(location, item, immediate) {
              // Optional arguments logic
              if (typeof item === 'boolean') {
                  immediate = item;
                  item = undefined;
              }
  
              if (item === undefined) {
                  slideTo(pos[location]);
              } else {
                  // You can't align items to sides of the frame
                  // when centered navigation type is enabled
                  if (centeredNav && location !== 'center') {
                      return;
                  }
  
                  var itemPos = self.getPos(item);
                  if (itemPos) {
                      slideTo(itemPos[location], immediate);
                  }
              }
          }
docs: Core method for handling `toLocation` methods.
  
  @param  {String} location
  @param  {Mixed}  item
  @param  {Bool}   immediate
  
  @return {Void}