created sliding windows