create an app bar with tabs