trying to replicate this swipe.js, but not working

trying to replicate this swipe.js, but not working

Hi,
I found this :

I like the swipe pagination of the three images, tried to do the same in jsfiddle :


 but does not work for me.

Thanks.