reverting changes swipe.js