Create tabbedpanel in main view.