fix error with imgs on smaller screens