code: function() {
              var carousel  = this,
                  currIndex = carousel._firstItem,
                  index;
  
              if (currIndex >= carousel.get("numItems") - 1) {
                  if (carousel.get("isCircular")) {
                      index = 0;
                  } else {
                      carousel.stopAutoPlay();
                  }
              } else {
                  index = currIndex + carousel.get("numVisible");
              }
  
              carousel._selectedItem = carousel._getSelectedItem(index);
              carousel.scrollTo.call(carousel, index);
          }
docs: Automatically scroll the contents of the Carousel.
  @method _autoScroll
  @protected