added the feature: scroll to the error element.