Add sliding window feature