First commit
Refactor simple-swipe.js into a library