Open or close a section in the tree timeline

I have a tree timeline with several section and several views. At the beginning all sections are closed, than the user can chose which section to open. Is possible maintain the same opened/closed sections when the user change view?

this should be happening by default, e.g. … _tree.html
Does it works differently for you?