Prototyped Tree expand/collapse animations and tried to optimize rendering a bit