added working version slider