create tree/list menu