added page animation on submit