test viewport