function (e) {
            if (!this.dragging) {
                return;
            }

            var x = e.pageX || e.originalEvent.touches && e.originalEvent.touches[0].pageX;
            this.coords.x_pointer = x - this.coords.x_gap;

            this.calc();
        }
function (e) {
            if (!this.dragging) {
                return;
            }

            var x = e.pageX || e.originalEvent.touches && e.originalEvent.touches[0].pageX;
            this.coords.x_pointer = x - this.coords.x_gap;

            this.calc();
        }
function ( e ) { if ( ! this . dragging ) { return ; } var x = e . pageX || e . originalEvent . touches && e . originalEvent . touches [ 0 ] . pageX ; this . coords . x_pointer = x - this . coords . x_gap ; this . calc ( ) ; }
Mousemove or touchmove
only for handlers

@param e {Object} event object
Mousemove or touchmove only for handlers
ontouchstart event