update the screen size