Changes for the photo loading progress bar