Fixed behaviour of top navbar menu