get value from slider