make css animation compatible with semantic ui