You'll need to provide a better explanation of what you need help with.
I'm wanting to recreate what is in the link. But the link only scrolls vertically, not horizontally, how do I make it scroll
That example scrolls either vertically or horizontally or both. The three lines below the image are buttons that indicate how you set the parameters for each case, and if you click them they make it work as selected.