fixes images layout