modification to shutdown animation