Added collapsable tree view menu.

Added a collapsable treevew menu for the organizing the submenu.