documenting helper functions; patching movementX and movementY event properties for crossbrowsing