flexratio handle resize of image element