Adds an option that forces a scroll lock on an element.