[develop] Scrollview - small patches

* Changed order of operation to patch options before trying to use them
* Added `index` in a non-breaking way to the output function's arguments