balance snap to center update

 issue #29 fix. Cheers!
Take a careful look at the original code and see if you can understand exactly what it's doing. I thing you will understand why we need the absolute value for some calculations and the actual value for others.

Absolute value is the correct operation for comparing to 25.