prevent menu toggles overlapping