added support for retina graphics