Scroller.prototype.updateHorizontalScrollFromTouchPosition = function (touchX, isScrollBar) {
    var offset;
    if (isScrollBar) {
        offset = this._startTouch.x - touchX;
    } else {