hides dropdown before animating the toolbar