almost perfectly responsive tab view with tab switching