Changed the swipe functionality to the entire screen.