adaptive main menu