Add previous_photo and next_photo methods