dist/crocodoc.viewer.js
function (state) {
            scrollDirection = util.sign(state.page - layoutState.page);
            layoutState = state;
        }
function (state) {
            scrollDirection = util.sign(state.page - layoutState.page);
            layoutState = state;
        }
function ( state ) { scrollDirection = util . sign ( state . page - layoutState . page ) ; layoutState = state ; }
Updates the current layout state and scroll direction
@param   {Object} state The layout state
@returns {void}
Updates the current layout state and scroll direction