collision detection cross-device events, add hammer.js