Add page-type to pages

- Fixes bug with scroll bar being present in viewer