`close` not `closed`? I would make it `toggle_closed` anyway.