added loading transition css, js