slide when  prev next is used
moved logic from slider to thumb_slider