Set initial viewport and styling.