Updated. had an error in the FlipPage call.