Better support for hammer.js