The transitionend event will not fire when display=none. This can prevent the initial animation for hiding the controlbar in some cases.
The transitionend event will not fire when display=none. This can prevent the initial animation for hiding the controlbar in some cases.