Collapse expand content

A few fixes for the gallery-bootstrap-collapse so that content in the expanded region can be modified and it's height is updated correctly.