Slider: Added option corners. Fixed setting options theme, trackTheme and mini. Fixes #6037.