changed the timeout to slow down the animation