code: function () {
              if (this.isInPresentationMode) {
                // Fixes the case when PDF has different page sizes.
                this._setScale(this._currentScaleValue, true);
              }
              var pageView = this._pages[this._currentPageNumber - 1];
              scrollIntoView(pageView.div);
            }
docs: Refreshes page view: scrolls to the current page and updates the scale.
  @private