Fixed adding new photos to the front instead of back.