Switch login animation to CSS