Allows the collapsing of specified elements adding image buttons for toggling.