added animations for the alert messages