adding correct sizing flexibility to the images