code: function changeActiveSlideTo (i) {
          slides.children(':nth-child(' + ((vars.currentIndex + 1) || 0) + ')').removeClass('itemslide-active');
  
          slides.children(':nth-child(' + ((i + 1) || 0) + ')').addClass('itemslide-active'); //Change destination index to active
  
          //Check if landingIndex is different from currentIndex
          if (i != options.currentIndex) {
              vars.currentIndex = i; //Set current index to landing index
              slides.trigger('changeActiveIndex');
          }
      }
docs: Private functions