setup graphics for screen