configureViewport