Improve snapping and restriction with inertia zeroResumeDelta

#13, #41