implemented retina mode quick and dirty