Set home background position according to the screen resolution