support list of elements in Dom.Class.toggle