fixing image width to prevent overflow on add event