Toggle named classes to elements with open/closed appended.