fix bug when displaying first photo of new batch of photos in carousel