Toggling swipeable attribute using javascript when a page loads on show(), I could be able to disable and enable swiping.