move offset functions to screen.lua because of Kobo Aura issues