changed layout for images