Made animations smoother