added loading animation for when gallery images are getting loaded