Flipswitch: Add classes option

Fixes gh-7715
To be clear here its not the adding of the classes thats deprecated but them being set as an option.