fix links to proper tabs on pages