In this commit I have created the submenu items. This was very easy as al I had to do was insert the "menu" property as appropriate. The e.stopPropagation() class can also be used to avoid the first menu item on click event from getting propagated.