initial check in for touch.js
handle the case when sliding is going beyond total unts, there is a more through fix, but this is the quick one