support back button to main view