add retina related hi-res code