Half a year ago I created a slider/carousel for Hugo, based on this codepen. Today I updated the code and fixed a bug (the bullets did not show the right position on mobile while swiping). The code now has an ’event listener’ to detect scrolling and I added a debounce function from Chris Ferdinandi, who happens to be an avid Hugo user as well. It should now be responsive and buttery smooth.