Change trackball mousewheel event to use a cross-browser version.

This uses Mozilla's cross-browser code at https://developer.mozilla.org/en-US/docs/Web/Reference/Events/wheel?redirectlocale=en-US&redirectslug=DOM%2FMozilla_event_reference%2Fwheel