Added a sliding window