can toggle views with tab buttons