range sliders for updating histogram