Changed screen resolution code