Events optimization for mobile

* Added Hammer.js for event management
* Optimized swipe behavior on mobile