Hide unactive submenus.