Fix small bug to scroll error field

Fix small bug to scroll after the last error field when form method
validate invoked