Identifies the screen resolution at runtime