css & js updates

change ::before & after to :before & after to work in older browsers.

make toggle function more flexible by making the attribute a string that gets passed in.

add additional aria-pressed attribute