Touch gestures on the web are tricky. Hammer.js is an actively maintained library that will give you custom gestures and a bunch of bundled gestures (usual suspects like swipe, doubletap, etc.) for less work than building touch gesture support from scratch. Hammer.js is used by IMDB, NYTimes and Tumblr IIRC: http://eightmedia.github.io/hammer.js/