Bug fix: final slides could be unreachable by dragging if current index was not divisble by slides to scroll.
JSFiddle demo of bug: http://jsfiddle.net/ntcck94q/