change width to max width for prev img container?