Html5 IOS app, Page vertical movement stops animation

Jonesey007 used Ask the Experts™

i am developing my first game and would like it to be cross platform so am using
html5 css3 and javascript -> Phonegap (Cordova)

yesterday i setup a demo app using code from HTML5 Bouncing Ball tutorial

I built the app in Cordova and deployed to my actual Ipad3

Everything went well and the animation is quick and smooth, the only thing is, if i swipe my finger up or down the screen it moves the page up a centimetre or so. This pauses the animation until i remove my finger and the page snaps back into its usual position.

Does anyone know how i can stop this happening, do i need to put fixed page dimensions in the code, or is there a Cordova property that needs setting.

Thanks for the help
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Expert
Top Expert 2009

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial