changed screen dimentions to variables