Log in Register form animation

and javascript swap
Log in register javascript swap