CoursePress expanded unit list view mode not working for students

All the students can see is the main unit title, but not the whole structure. this expand buttons work for the admin.

Other details are in chat