Add pages in view