jQueryUI: Tidy up and up to gotoCurrent
Merge pull request #2100 from johnnyreilly/master

jQueryUI: Tidy up and up to gotoCurrent