Added animation for the form