"Easiest way to do this is to set a UICenterOnChild.onCenter, and in that function just call UIScrollView's RestrictWithinBounds(true);"
Not sure how you mean. Let's see if I understand correctly.
1. Add a CenterOnChild on the Grid of the SV.
2. set a callback function for onCenter and in this function, set the SV's RestrictWithinBounds(true)