fixing the 10% image width bug