How did they do it

www.sky.com/hd
Just wondering how they did the masking effect when you drag and see the hd/standard image. You’ll find it if you go to “more detail” and " see the difference"
Could anybody make an example? That would be great!