to view swipe