Added ability to specify scroll container for drag/resize

Our UI is set up such that the window isn't what scrolls in most cases. In order to support the scroll position following drag and resize, we needed to allow the container that should scroll to be passed in as an option.