add page-changing by swipe