added loading gif to gallery photo overlay