Refactor pages to fully fit a viewport