added animation to register button