Allows defaults to be set globally. Example includes scrollable div.