Adding pages and animations