add loading class to spinner