Improve css animation