changed script to .on from .live for page swipe