Improved mouse wheel detection

Better cross-browser mouse wheel event binding.
(Also points out some unused variables for later cleanup purposes..)