update the custom date range when panning and zooming