scroll to top when validation error occurs