activate main view