Pre-calculate total time window for rolling stack

The end time is only ever used in a fixed calculated of the length of
the time window during the generation of a rolling-stack visualization,
so store and access it as such.