code: function(time, x, y) {
  		if(time - _gestureCheckSpeedTime > 50) {
  			var o = _posPoints.length > 2 ? _posPoints.shift() : {};
  			o.x = x;
  			o.y = y; 
  			_posPoints.push(o);
  			_gestureCheckSpeedTime = time;
  		}
  	}
docs: amount of pixels to drag to determine direction of swipe