Slider: Add Classes option

Fixes gh-7716