Added currentPhotoIndex property