Nice Article by our friend Nikhil Feed: CSS-Tricks Posted on: Friday, June 14, 2013 3:12 AM Author: Guest Author Subject: The JavaScript Behind Touch-Friendly Sliders The following is a guest post by Kevin Foley . Kevin is a developer at Squarespace doing cool stuff with their developer platform , among other things. He was recently working on a swipeable image gallery and he agreed to share some of that work here! A few weeks ago Chris posted a tutorial for creating a Slider with Sliding Background Images . Around the same time I was working on some new swipeable galleries, so Chris suggested I write up a tutorial for how to add swipe support to his slider. Here it is! When creating a swipeable gallery there are two techniques — that I know of — you can choose from. You can animate the scroll position, or move the element using translate . There are pros and cons to each. Using Translate Moving the slider with translate gives you the advantage of hardware accelerati...