Refactor allowsScrolling/setAllowScrolling to be cross-platform.
Created attachment 23868 [details] Patch
Fixed in r36982.