Calculating wall coordinates and dimentions based on screen size