update slider.js with button features