time slider handles the slide event and redraw the charts.