The custom modal content scroll position can be retrieved with window.scrollY and window.scrollX. Please let me know if I misunderstood your use case or if you meant to get access to the parent window scroll position.
Regarding parent window size, you are correct - this information is unavailable to the iframe. I created a ticket to add this capability to App Extensions SDK.