Changed collapsed to be a public view property