add loading gif to statistic page