Dynamically configure range slider from graph, so that width changes affect the slider width too.

Useful if the graph is resized.