swipe with hammer.js, cleanup dependencies