added helper to scale CGSize;
helper to get if device has retina display