cleaned up the photo transition