`cell.element.find("div.input").toggle('slow')` will do what you expect and track the state for you on the dom element. This will prevent the need to track `cell.collapsed` (which BTW, is already used for the state of the output area)