I still think it would be good to work out how to hook into the iPhone gesture stuff and how that's used in the Javascript (I certainly couldn't see it anywhere though). Anyone who actually knows something about Javascript fancy taking a look-see?