Changing layout of photos to fix a glich