create states to sliders. #11