tweaked the imagesrow directive to react on width changes