Added a loading indicator to the thumbnail clicks