Support for large viewports

Reference issue #8