Set up viewport on window resize