[Bug #8433] Use deltaY as a default in firefox
(cherry picked from commit ba625d41e671c05db9ca22d446258d516f8e0087)
 [Bug #8433] Code formatting
(cherry picked from commit 19f0ecc9a29f4a63109bd6dd1393692ff2de17ac)
 [Bug #8433] Add default value delta
(cherry picked from commit 2a20bca9bb88e9ec5600e46eaffa0066f4c5014d)