Preserve scroll state when toggling entity groupings.