Tested in Safari
Refactored event handling to work at the target container level in
addition to the individual scrollbar level