fix for mobile image resizing