change swipe.js to use percentages for slides and the slide container