Fixed error with notification css animation