Added scrollDuration option...

...to scroll smoothly to the first focused invalid field instead of jumping at it. Focus is set at the end of the scroll.

Hope it helps.