Mobile menu: active class is not unset until transition is complete