added a fade out animation