remember last selected mode (thumbs or document outline)