changed the opacity animation.