Add swipe support for changing pages