changed the way captions are displayed in sliders