make toggle button code more general
Merge branch 'master' of github.com:phetsims/color-vision