Support for tolerance on submenus that are positioned above and below the main menu.