added pixelratio for checking retina