set loading animation while loading CGI after clicking a node