Make click event available to ancestors of image viewer. (#21448)
Make click event available to ancestors of image viewer. (#21448)

Add a tap listener to propagate clicks within the image viewer. Previously, clicks would only be propagated while zoomed in. Additionally, doubling tapping while zoomed in would cause the controls toggle twice (i.e. if they were visible, they would hide, then reshow; if they were hidden, they would show then hide again). Now, tapping will always propagate the click as long as it is not a double tap gesture.
taboola/amphtml,nexxtv/amphtml,alanorozco/amphtml,media-net/amphtml,Gregable/amphtml,danielrozenberg/amphtml,jpettitt/amphtml,techhtml/amphtml,mhc-gh/amphtml,erwinmombay/amphtml,voyagegroup/amphtml,cvializ/amphtml,sebastianbenz/amphtml,alanorozco/amphtml,ampproject/amphtml,erwinmombay/amphtml,yandex-pcode/amphtml,tlong2/amphtml,jpettitt/amphtml,tlong2/amphtml,jridgewell/amphtml,media-net/amphtml,jmadler/amphtml,taboola/amphtml,zhangsu/amphtml,sharethrough/amphtml,jpettitt/amphtml,mhc-gh/amphtml,nexxtv/amphtml,voyagegroup/amphtml,erwinmombay/amphtml,media-net/amphtml,adup-tech/amphtml,prateekbh/amphtml,honeybadgerdontcare/amphtml,jridgewell/amphtml,rsimha-amp/amphtml,honeybadgerdontcare/amphtml,zhouyx/amphtml,ampproject/amphtml,rsimha-amp/amphtml,media-net/amphtml,zhouyx/amphtml,adup-tech/amphtml,cvializ/amphtml,jpettitt/amphtml,cory-work/amphtml,taboola/amphtml,danielrozenberg/amphtml,ampproject/amphtml,taboola/amphtml,danielrozenberg/amphtml,prateekbh/amphtml,honeybadgerdontcare/amphtml,media-net/amphtml,nexxtv/amphtml,jmadler/amphtml,lannka/amphtml,yandex-pcode/amphtml,techhtml/amphtml,voyagegroup/amphtml,rsimha-amp/amphtml,cory-work/amphtml,danielrozenberg/amphtml,jpettitt/amphtml,zhouyx/amphtml,zhangsu/amphtml,ampproject/amphtml,jpettitt/amphtml,media-net/amphtml,yandex-pcode/amphtml,jmadler/amphtml,alanorozco/amphtml,voyagegroup/amphtml,sebastianbenz/amphtml,alanorozco/amphtml,src-code/amphtml,voyagegroup/amphtml,dotandads/amphtml,zhouyx/amphtml,Gregable/amphtml,sharethrough/amphtml,prateekbh/amphtml,erwinmombay/amphtml,techhtml/amphtml,rsimha-amp/amphtml,cory-work/amphtml,rsimha-amp/amphtml,yandex-pcode/amphtml,cory-work/amphtml,prateekbh/amphtml,sharethrough/amphtml,src-code/amphtml,sebastianbenz/amphtml,ampproject/amphtml,dotandads/amphtml,mhc-gh/amphtml,alanorozco/amphtml,dotandads/amphtml,erwinmombay/amphtml,smartadserver/amphtml,dotandads/amphtml,smartadserver/amphtml,sebastianbenz/amphtml,lannka/amphtml,ampproject/amphtml,smartadserver/amphtml,danielrozenberg/amphtml,nexxtv/amphtml,rsimha-amp/amphtml,alanorozco/amphtml,zhouyx/amphtml,jmadler/amphtml,zhangsu/amphtml,adup-tech/amphtml,honeybadgerdontcare/amphtml,tlong2/amphtml,tlong2/amphtml,tlong2/amphtml,tlong2/amphtml,jpettitt/amphtml,techhtml/amphtml,adup-tech/amphtml,lannka/amphtml,techhtml/amphtml,zhouyx/amphtml,smartadserver/amphtml,Gregable/amphtml,taboola/amphtml,alanorozco/amphtml,jpettitt/amphtml,zhangsu/amphtml,lannka/amphtml,honeybadgerdontcare/amphtml,smartadserver/amphtml,yandex-pcode/amphtml,mhc-gh/amphtml,danielrozenberg/amphtml,danielrozenberg/amphtml,adup-tech/amphtml,cory-work/amphtml,cvializ/amphtml,src-code/amphtml,nexxtv/amphtml,src-code/amphtml,jridgewell/amphtml,erwinmombay/amphtml,src-code/amphtml,media-net/amphtml,techhtml/amphtml,zhouyx/amphtml,smartadserver/amphtml,mhc-gh/amphtml,jridgewell/amphtml,honeybadgerdontcare/amphtml,sharethrough/amphtml,nexxtv/amphtml,src-code/amphtml,taboola/amphtml,Gregable/amphtml,cory-work/amphtml,lannka/amphtml,jridgewell/amphtml,jmadler/amphtml,voyagegroup/amphtml,jmadler/amphtml,voyagegroup/amphtml,cory-work/amphtml,lannka/amphtml,yandex-pcode/amphtml,sebastianbenz/amphtml,lannka/amphtml,jridgewell/amphtml,nexxtv/amphtml,prateekbh/amphtml,dotandads/amphtml,Gregable/amphtml,sharethrough/amphtml,cvializ/amphtml,yandex-pcode/amphtml,rsimha-amp/amphtml,ampproject/amphtml,sharethrough/amphtml,media-net/amphtml,sebastianbenz/amphtml,Gregable/amphtml,jridgewell/amphtml,mhc-gh/amphtml,prateekbh/amphtml,taboola/amphtml,dotandads/amphtml,cvializ/amphtml,alanorozco/amphtml,ampproject/amphtml,Gregable/amphtml,Gregable/amphtml,adup-tech/amphtml,mhc-gh/amphtml,zhangsu/amphtml,danielrozenberg/amphtml,mhc-gh/amphtml,prateekbh/amphtml,honeybadgerdontcare/amphtml,zhangsu/amphtml,cvializ/amphtml