added all-templates and all-pages and improved the viewport resizer