Hides controlls when changing views.