use deltaY also

When listening to Firefox's `wheel` event, event.detail is 0.
This code change checks also `event.deltaY` and normalizes the value.