Changed the whole navigation

But it doesn't work. I have no idea why. Don't get any error messages
and the code seems to run just fine (console.log'd it through).