Use the expandmenu flag to expand a particular sub-menu.