implemented swipe

added hammer.js and implemented swipe