adjust animation time