Kobayashi can you add a window.history back handler that closes images instead of going back when an image is opened.
This way the image is simply closed instead of leaving the whole page avcidentally when hitting back with an expanded/opened image.
Thanks