Detect Firefox and adjust DOMMouseScroll.detail

Without this change, Firefox will scroll three pictures at a time when using the Mouse wheel.