making bounce resolution relative to distance between points
Merge branch 'master' of https://github.com/sfletche/ol3-animation