only calc panel width if a collapse is changing something

to stop simple updates from moving columns around, fixes #847

when collapsing or uncollapsing, see if the panel is already
collapsed.  do not save the setting, and do not do change
column width, if there is no change.