script to change font-size depending on device width and pixel-ratio