adjustment of css animation