add CSS3 loading animation