added subitem support to menu