switch to css animations