changed layout of index photo display