Issue #126: only toggle off light class if all sections are closed.