page load and swipe