Fixed problem of the last open section not closing on being clicked again