change viewport size.