adapted screenlayouts to dvi and hdmi connection