Rangeslider: Add classes option

Fixes gh-7717