Fixes expand collapse bug on course outline page

STUD-2038