Made animation for notice apply to alerts as well.