implemented hammer.js