fix css breaking in responsiveTabs
more efficient tab initialization and toggling