Jqswipe is a project mainly written in JavaScript, it's free.
jQuery plugin that enables swiping gestures for mobile browsers