refactored offset computation
Merge branch 'develop' of github.com:babbel/kanji-motion into develop