Fixed photo next/prev ordering, for real