Animating navbar visibility change.