add loading class on items