Adds swipe capability to turn pages.