Introduce delay in thumbnail computation of gallery to improve perfs