sync slider with input