Displays the next page of images
if(this.thumbScroller[this.isHorizontal ? "scrollLeft" : "scrollTop"] == 0){return;} var pos = this.isHorizontal ? "offsetLeft" : "offsetTop"; var size = this.isHorizontal ? "offsetWidth" : "offsetHeight"; var firstThumb = this._thumbs[this._thumbIndex]; var origOffset = firstThumb[pos] - this.thumbsNode[pos]; var index = -1, img; for(var i = this._thumbIndex - 1; i > -1; i--) { img = this._thumbs[i]; if(origOffset - img[pos] > this._scrollerSize){ this._showThumbs(i + 1); return; } } this._showThumbs(0);