Tabs: Fixed linking to an anchor within the same tab panel.

Fixes #5900
Merge pull request #5902 from pjackson28/fixtabssamepanellink

Tabs: Fixed linking to an anchor within the same tab panel.