added leave animation