Update swipeview.js