Regression not only takes into account the current window size, but also clips out the data so it only acts upon what you are looking at.