Css transition animation changed