added pages and swipes