adjust sizes of images to be a percentage