use tab-pane for different views