Create swipeview.js