Implement Sequence::sliding()