Move some common Viewport related options from examples to Viewport constructor itself.