Fix tab navigation and anchors