if (this._viewPort.height === Number.POSITIVE_INFINITY) {
            //we don't want to risk the possibility of negative infinity
            //being added to positive infinity. the result is NaN.
            this._maxVerticalScrollPosition = Number.POSITIVE_INFINITY;
        } else {