Fixed animation when reseting history, also
fixed an issue with wrong timestamps when we have a timewindow > 10m
and we have less data than expected