You would either use CSS to fix the styling problem, or perhaps setup a condition to change the links templates (for secondary links of the tab) depending on if the tab is selected or not. For a CSS solution I need you to post your URL so I can work with the style. For the condition you need a programmer.