test viewport change