[Gesture] - WP7 compatibility

Modifications on "gesture.js" to add compatibility with WP7