get width and height based on screen size