Infinite cms scroll in both directions

I want to create an infinite scroll in both directions. here is a similar animation on this website the website