Update the viewport size