Making the correct navbar element active