fix(toggle): fix toggle-class attribute

Closes #1851