added pages and animate cards in