fix($animate): ensure all animated elements are taken care of during the closing timeout

Closes #6395
test($animate): ensure staggering timeout tests are secure