Display gallery thumbnails in reverse ID order