added persistent expand/collaspe states. [MJ-374]