Children are collapsed during expanding of parent
Curly brackets are added
Merge pull request #240 from vmoyseenko/DUI-CollapseNextLevelItems

Children should be collapsed during expanding of parent