add animations for moz and normal css to error message