move alert animations over to css