Adjust main view.