add pages, styles, integrate with swipe