Change the order photos in the gallery