Animating the hiding/showing of the navbar