changed layout for photos