Adding the "in" class when the collapsible element is expanded.

Relates to #279.