Fix for issue #4019 - Persistent headers and footers placed under content after transition - Header and footer were both being appended broke out to prepend header and append footer.
Fix for issue #4019 - Persistent headers and footers placed under content after transition - Header and footer were both being appended broke out to prepend header and append footer.

npmcomponent/cbou-jquery-mobile,arschmitz/uglymongrel-jquery-mobile,arschmitz/uglymongrel-jquery-mobile,hinaloe/jqm-demo-ja,arschmitz/jquery-mobile,startxfr/jquery-mobile,npmcomponent/cbou-jquery-mobile,startxfr/jquery-mobile,hinaloe/jqm-demo-ja,arschmitz/jquery-mobile,npmcomponent/cbou-jquery-mobile,startxfr/jquery-mobile,hinaloe/jqm-demo-ja,arschmitz/jquery-mobile,arschmitz/uglymongrel-jquery-mobile