Clean up the code a bit, remove Swipe.js
Preliminary swipe support

Cleanup and bugfixes needed.