remember preview header collapse status
Merge pull request #156 from JohnDoh/previewtoggle

remember preview headers collapse status