use a slider instead of buttons