modified animations to be smoother