Expand and contract now works. Will try to implement using lambda
Added some comments. Could not do it with lambda. Will try again another time
Merge pull request #8 from plantener/CollapseExpand

Collapse expand
merge