added "retina support" for images, but a better approach may be needed.