Hmm, seems OK to me. Strictly speaking, there is no hover on a mobile. However, most mobile devices fire it on touchstart. The gallery appears to work that way to me. Tap an image, see it enlarged. Tap another, it switches to that one. tap in a neutral area, and whatever image (if any) was displayed as enlarged, stops being shown that way.
I did notice that the page 'navaigates' to #thumb - this could cause some mobile browsers to reload the page. If that's an issue, just add this short script right before the page's closing </body> tag (will not harm performance on regular computers, and might actually be beneficial there for the same reason - avoiding unintended navigation/reload):
Code:
<script type="text/javascript">
;(function(){
var i = 0, p;
while ((p = document.links[i++])){if(p.hash == '#thumb'){p.onclick=function(){return false;}}}
})();
</script>
But, as I say, I believe what you're seeing is normal for hover on most touch devices, especially touch devices which do not also have a pointing device (like a mouse).
Bookmarks