swipe as main page