This version is old school.
Please find jQuery plugins on npm.
Scroll Lock
Locks mouse wheel scroll inside container, preventing it from propagating to parent element
Locks mouse wheel scroll inside container, preventing it from propagating to parent element