A CodePen by Jesper Hills. Smooth click-activated slider