view: Collapse/expand headers when clicked