Replace loader by animated custom css keyframes