Small performance improvement for VideoSlider