modified offset functions
Merge branch 'master' of https://github.com/izzi/app-evision