Adds collapsible behaviour with knockout bindings