🐛 Fixing bug where getLayoutBox was erroneously used in a call for isInStoryPageSideEdge (#31310)
🐛 Fixing bug where getLayoutBox was erroneously used in a call for isInStoryPageSideEdge (#31310)

* adding a getStoryPageRect function that can be used in both places where pageRect is calculated

* updating accuracy of js doc
smartadserver/amphtml,prateekbh/amphtml,ampproject/amphtml,honeybadgerdontcare/amphtml,rsimha-amp/amphtml,honeybadgerdontcare/amphtml,alanorozco/amphtml,alanorozco/amphtml,mhc-gh/amphtml,zhouyx/amphtml,rsimha-amp/amphtml,danielrozenberg/amphtml,rsimha-amp/amphtml,zhouyx/amphtml,voyagegroup/amphtml,zhouyx/amphtml,alanorozco/amphtml,jpettitt/amphtml,jpettitt/amphtml,media-net/amphtml,voyagegroup/amphtml,jridgewell/amphtml,lannka/amphtml,Gregable/amphtml,ampproject/amphtml,jpettitt/amphtml,prateekbh/amphtml,zhouyx/amphtml,jpettitt/amphtml,Gregable/amphtml,honeybadgerdontcare/amphtml,prateekbh/amphtml,jridgewell/amphtml,ampproject/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,jmadler/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,prateekbh/amphtml,smartadserver/amphtml,sharethrough/amphtml,rsimha-amp/amphtml,Gregable/amphtml,jridgewell/amphtml,sharethrough/amphtml,nexxtv/amphtml,voyagegroup/amphtml,Gregable/amphtml,Gregable/amphtml,ampproject/amphtml,nexxtv/amphtml,rsimha-amp/amphtml,jridgewell/amphtml,danielrozenberg/amphtml,jpettitt/amphtml,smartadserver/amphtml,alanorozco/amphtml,mhc-gh/amphtml,mhc-gh/amphtml,smartadserver/amphtml,ampproject/amphtml,jmadler/amphtml,sharethrough/amphtml,jmadler/amphtml,lannka/amphtml,prateekbh/amphtml,Gregable/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,honeybadgerdontcare/amphtml,zhouyx/amphtml,mhc-gh/amphtml,alanorozco/amphtml,media-net/amphtml,mhc-gh/amphtml,sharethrough/amphtml,sharethrough/amphtml,lannka/amphtml,alanorozco/amphtml,honeybadgerdontcare/amphtml,media-net/amphtml,rsimha-amp/amphtml,sharethrough/amphtml,media-net/amphtml,ampproject/amphtml,media-net/amphtml,media-net/amphtml,danielrozenberg/amphtml,Gregable/amphtml,nexxtv/amphtml,danielrozenberg/amphtml,zhouyx/amphtml,jpettitt/amphtml,jmadler/amphtml,honeybadgerdontcare/amphtml,ampproject/amphtml,ampproject/amphtml,prateekbh/amphtml,mhc-gh/amphtml,jpettitt/amphtml,voyagegroup/amphtml,voyagegroup/amphtml,danielrozenberg/amphtml,voyagegroup/amphtml,lannka/amphtml,media-net/amphtml,Gregable/amphtml,jmadler/amphtml,smartadserver/amphtml,mhc-gh/amphtml,nexxtv/amphtml,media-net/amphtml,prateekbh/amphtml,danielrozenberg/amphtml,lannka/amphtml,lannka/amphtml,zhouyx/amphtml,nexxtv/amphtml,mhc-gh/amphtml,smartadserver/amphtml,jridgewell/amphtml,jmadler/amphtml,nexxtv/amphtml,jridgewell/amphtml,lannka/amphtml,jridgewell/amphtml,nexxtv/amphtml,voyagegroup/amphtml,rsimha-amp/amphtml