jquery/jquery-mobile — pull request #4225 by eugenebond (2012-04-27 18:43:23+00:00)
Title: Issue 3984: jumping fixed header IOS & Android RC2

Fix for
https://github.com/jquery/jquery-mobile/issues/3984

I've done some searching and the problem appears to be a Safari bug; however it's hard to say that for sure . The fix is to do scrollTop(0) between page transitions which probably resets Safari viewport and prevents nasty jumps/blinks/etc when Safari tries to settle down the newly loaded position:fixed header/footer.

I'd appreciate if someone with more JQM experience could review the fix and confirm that it doesn't break anything. I am new to this framework and don't have a clear picture of every JQM feature so I could have easily broken something.