add the loading animation