Resize the flipping page