Tmyrden/add collapse memory

Closes #29 

View initialize now calls back
Key is set when you toggle the collapse
Key is used to set initial toggle status