Viewport padding and automatic height-setting

Padding can be safely applied to the viewport.

By default, the height of the viewport will be the same as the tallest
page.