cleanup and added animations for image failure