testpat: add page flipping mode