Improved workaround #1699 to protect against race conditions

Now restores the scroll immediately after the event triggered when jQuery Mobile scrolls to the top (silentscroll event).