slider value handling