* added expand and collapse for tree