There are some native HTML5 Events that works in WebKit (Chrome & Safari) … only mobile versions.
The name of these events are touchstart, touchmove, touchend, touchcancel
An example to reposition an element with touch is:
$(document).bind("touchstart", function(e) {
e.preventDefault();
var orig = e.originalEvent;
var x = orig.changedTouches[0].pageX;
var y = orig.changedTouches[0].pageY;
$("#element").css({top: y, left: x});
});
More information: https://developer.apple.com/documentation/webkitjs/touchevent
BTW I prefer to work with webkit-transform (CSS properties) ’cause it has a better performance.