Creating fixed header and footer elements for mobile devices can be a bit challenging. The traditional method of using fixed positioning may not always be effective, as discussed in the article shared by Knu on this thread.
Fortunately, I have discovered two alternative solutions that might offer some relief. One option is to utilize jQuery Mobile, while the other suggestion involves using iScroll. Both of these options allow for fixed headers and footers on mobile websites.
However, I have encountered difficulties when trying to incorporate fixed scrolling along with other effects on the iPad. Finding a seamless integration between fixed elements and additional functionality can be a challenge. Hopefully, these suggestions will prove helpful in addressing your concerns.