Implement collapsing/expanding of outline items