Enable to change pages by swipe event.