adding a slider