Fix for tree expand/collapse

fix for issue :  tree is not expanding/collapsing when user clicks on
the icon.
Merge pull request #2 from sboyina/dev

Fix for tree expand/collapse