improved user interaction by adding loading gif for every thumbnail