Sliding window border

I’d like to use a sliding window border to show before/after versions of my images. Is there a way to do that in X-Way?