adding events for hammer.js