using fragments in MainView