code: function(e) {
  		// clean up previous points, without recreating array
  		while(_tempPointsArr.length > 0) {
  			_tempPointsArr.pop();
  		}
  
  		if(!_pointerEventEnabled) {
  			if(e.type.indexOf('touch') > -1) {
  
  				if(e.touches && e.touches.length > 0) {
  					_tempPointsArr[0] = _convertTouchToPoint(e.touches[0], _ePoint1);
  					if(e.touches.length > 1) {
  						_tempPointsArr[1] = _convertTouchToPoint(e.touches[1], _ePoint2);
  					}
  				}
  				
  			} else {
  				_ePoint1.x = e.pageX;
  				_ePoint1.y = e.pageY;
  				_ePoint1.id = '';
  				_tempPointsArr[0] = _ePoint1;//_ePoint1;
  			}
  		} else {
  			_tempCounter = 0;
  			// we can use forEach, as pointer events are supported only in modern browsers
  			_currPointers.forEach(function(p) {
  				if(_tempCounter === 0) {
  					_tempPointsArr[0] = p;
  				} else if(_tempCounter === 1) {
  					_tempPointsArr[1] = p;
  				}
  				_tempCounter++;
  
  			});
  		}
  		return _tempPointsArr;
  	}
docs: amount of pixels to drag to determine direction of swipe