Update Menu to Fix Teardown Closing when Not Open

We only want to close the menu when leaving small if it is open.
Doing so might interfere with other menus that might still be open
on the page since all menus share the same container.
Update Menu to Fix Disappearing on Close Issue

The menu was picking up transition end event from the collapsible
causing logic for transition end to be executed too early, having
the visible effect of the menu disappearing before completely closed.