submenu display:none when not in or in transition.