Switch to css animations