add function to switch between tab settings

different tabsettings can be defined in the TabSettings list. Calling
the TabToggle function will cycle between them.