Adding auto-advancing logic to slider-model