changed animation approach for signup form and also improved validation