Sets whether scrolling should be constrained to happen only when the cursor
is inside the container node.
NOTE: If a vertical margin is not set, then it does not make sense to
contain the scroll, because in that case scroll will never be triggered.