Add a simple sliding window function to PullPush