make navigation highlighting dynamic