make sure to fire core-transitionend when closing the menu