modified offset values for testing on different screen resolutions