get slider value