fixed styling for tabs for the high-contrast themes
cleaned up code, made some modification to the design