fix hammer.js unregistering of events