adjusted sizes of photos to fit perfectly upon resizing