Convert popup submenus to scrollable layouts