adds css animations