Making sliding window visualization more flexible