Moved the photo image class resizing to the smallest screen.