After moving 40px up or down we remove the initial target element of wheel event from the dom. In safari this causes the wheel event to stop firing on the current frame, but it then starts firing on the parent frame.