fix active states for navigation link