also, have it apply a class (like "toggle-on", "toggle-off") to the legend rows that are toggled