Added animation to loading previous messages