update styling for unexpanded cdm; misc fixes related to collapsing