updated tab styles, added support for switching between tabs