If you look at any of the DNA Lounge galleries on iOS, you'll see that dragging left or right goes to the previous or next photo. It works... ok. The transitions aren't great. I've seen better.
I gather there's some way to do this with jQuery, telling it "load this URL and use a slide-in transition once the next page has actually loaded" or something like that, but I can't figure out how to do it.
Solutions that involve pre-loading every image in the gallery, or that do not change document.location to the real URL of the image's page, are not acceptable.
My code: dragnav.js, gallery.js.