Show Expand/Collapse all only to the root of TreeView directives

MIFOSX-1692

Follows 37d5081141e06d037d7516daebb61c4c22dd2044