Added offset X/Y functionality

This will give users ability to handle screen boundaries