Called whenever the user is scrolling the view using either a mouse
scroll wheel or a track-pad.
function _scrollUpdate(event) {
        if (!this.options.enabled) {
            return;
        }
        var offset = Array.isArray(event.delta) ? event.delta[this._direction] : event.delta;
        this.scroll(offset);
    }