fix the image size issue on ipad