input range to slider