Added more robust workaround for jQuery Mobile scrolling/focus changes on init (#2533)