made images smaller as they are shown