Expandcollapseall: fixed .accent-first option

This option was previously only applying to the first toggle control on the page.  This fix causes it to correctly apply
to the first toggle control in a given plugin element.

PR also includes minor style fixes to the code.