Fix #630: Collapse crops content that would overflow.

* Added overflow visible to the elements style when the expand transition is complete.
* overflow hidden is restored to the element before the collapse transition starts.