using hammer.js to track touch events