add collapsed = true/false