resizing viewport size