fixes #994: store collapsed and fixed of widets in cookie, too.

This pullrequest added the functionality to store the collapsed and fixed / pinned state of a widget in the cookie, like the position.