added scale down for retina images