add animation for loading