Fix amp-sidebar scrolling on open/close in UIWebView (#22738)
Fix amp-sidebar scrolling on open/close in UIWebView (#22738)

* Fix amp-sidebar scrolling on open/close in UIWebView.

* Also check viewer.isWebviewEmbedded().

* Actually use isEmbedded().

honeybadgerdontcare/amphtml,erwinmombay/amphtml,cory-work/amphtml,cory-work/amphtml,nexxtv/amphtml,lannka/amphtml,smartadserver/amphtml,src-code/amphtml,erwinmombay/amphtml,cory-work/amphtml,yandex-pcode/amphtml,prateekbh/amphtml,src-code/amphtml,nexxtv/amphtml,adup-tech/amphtml,zhouyx/amphtml,jpettitt/amphtml,zhouyx/amphtml,jridgewell/amphtml,taboola/amphtml,media-net/amphtml,dotandads/amphtml,ampproject/amphtml,adup-tech/amphtml,zhouyx/amphtml,jmadler/amphtml,dotandads/amphtml,media-net/amphtml,alanorozco/amphtml,dotandads/amphtml,Gregable/amphtml,rsimha-amp/amphtml,Gregable/amphtml,Gregable/amphtml,zhangsu/amphtml,sharethrough/amphtml,voyagegroup/amphtml,media-net/amphtml,rsimha-amp/amphtml,alanorozco/amphtml,jpettitt/amphtml,mhc-gh/amphtml,jpettitt/amphtml,jpettitt/amphtml,yandex-pcode/amphtml,mhc-gh/amphtml,Gregable/amphtml,jridgewell/amphtml,jmadler/amphtml,danielrozenberg/amphtml,src-code/amphtml,honeybadgerdontcare/amphtml,alanorozco/amphtml,sharethrough/amphtml,prateekbh/amphtml,taboola/amphtml,media-net/amphtml,cory-work/amphtml,alanorozco/amphtml,zhangsu/amphtml,erwinmombay/amphtml,adup-tech/amphtml,jridgewell/amphtml,mhc-gh/amphtml,zhangsu/amphtml,jridgewell/amphtml,tlong2/amphtml,yandex-pcode/amphtml,lannka/amphtml,lannka/amphtml,alanorozco/amphtml,Gregable/amphtml,prateekbh/amphtml,dotandads/amphtml,nexxtv/amphtml,ampproject/amphtml,jmadler/amphtml,danielrozenberg/amphtml,Gregable/amphtml,nexxtv/amphtml,jmadler/amphtml,tlong2/amphtml,mhc-gh/amphtml,prateekbh/amphtml,smartadserver/amphtml,sharethrough/amphtml,yandex-pcode/amphtml,zhangsu/amphtml,erwinmombay/amphtml,jridgewell/amphtml,adup-tech/amphtml,media-net/amphtml,src-code/amphtml,dotandads/amphtml,smartadserver/amphtml,rsimha-amp/amphtml,honeybadgerdontcare/amphtml,taboola/amphtml,ampproject/amphtml,tlong2/amphtml,mhc-gh/amphtml,prateekbh/amphtml,smartadserver/amphtml,cory-work/amphtml,jpettitt/amphtml,smartadserver/amphtml,danielrozenberg/amphtml,nexxtv/amphtml,danielrozenberg/amphtml,ampproject/amphtml,Gregable/amphtml,dotandads/amphtml,yandex-pcode/amphtml,tlong2/amphtml,voyagegroup/amphtml,lannka/amphtml,voyagegroup/amphtml,ampproject/amphtml,ampproject/amphtml,taboola/amphtml,ampproject/amphtml,tlong2/amphtml,danielrozenberg/amphtml,src-code/amphtml,jpettitt/amphtml,zhouyx/amphtml,nexxtv/amphtml,lannka/amphtml,rsimha-amp/amphtml,voyagegroup/amphtml,danielrozenberg/amphtml,src-code/amphtml,zhangsu/amphtml,rsimha-amp/amphtml,adup-tech/amphtml,mhc-gh/amphtml,honeybadgerdontcare/amphtml,yandex-pcode/amphtml,taboola/amphtml,taboola/amphtml,prateekbh/amphtml,jridgewell/amphtml,Gregable/amphtml,zhouyx/amphtml,sharethrough/amphtml,lannka/amphtml,adup-tech/amphtml,danielrozenberg/amphtml,mhc-gh/amphtml,alanorozco/amphtml,alanorozco/amphtml,zhangsu/amphtml,prateekbh/amphtml,media-net/amphtml,tlong2/amphtml,lannka/amphtml,voyagegroup/amphtml,jridgewell/amphtml,sharethrough/amphtml,cory-work/amphtml,rsimha-amp/amphtml,jmadler/amphtml,cory-work/amphtml,erwinmombay/amphtml,jpettitt/amphtml,sharethrough/amphtml,rsimha-amp/amphtml,zhouyx/amphtml,honeybadgerdontcare/amphtml,taboola/amphtml,media-net/amphtml,danielrozenberg/amphtml,voyagegroup/amphtml,honeybadgerdontcare/amphtml,zhouyx/amphtml,ampproject/amphtml,honeybadgerdontcare/amphtml,nexxtv/amphtml,mhc-gh/amphtml,erwinmombay/amphtml,smartadserver/amphtml,alanorozco/amphtml,media-net/amphtml,jpettitt/amphtml,yandex-pcode/amphtml,jmadler/amphtml,voyagegroup/amphtml