make collapse-expand-all function aware if single fields are already shown