Refactor time window changing to support resolution changes at any point in time