Changing the layout to Swipe View