Added sliding window plot