Wooh javascript!

P.S check out hammer.js it's really cool