update viewport center and zoom level