Fixed bug that caused animation to stop several pixels short.

https://github.com/cferdinandi/smooth-scroll/pull/15#issuecomment-323807
70
Merge branch 'distance-fix'