Added slide-out animation.