adding support for change the image based on the size of the screen