replaced input with slider