Compatibility with zepto.js and hammer.js v2