Menu links now collapse if clicked again.

I personally don't like the `$name` variable naming. 
But if everyone is fine with it, we can merge this :-)