Fixing jQuery mouse wheel problems

Fixing broken mouse wheel when using jQuery 1.7+, and added missing
Mozilla Firefox 3+ mouse wheel support by reusing normalisation code
taken from the non-jQuery events.js file. Fix successfully tested using
jQuery 1.6.3-1.8.2.