This will add support for these events: Tap, Double Tap and Swipe (vertical and horizontal).
A test page is included.
$(elm).on('tap', callbackFunction);
$(elm).on('doubleTap', callbackFunction);
// swipe
$(elm).on('swipe', function onSwipe(e, Dx, Dy){
// ...
});