how to prevent vertical scroll bar from flashing on/off

how to prevent vertical scroll bar from flashing on/off

This must be a FAQ so I hope someone can point out a link to a solution.

When changing to a new page in my jQuery Mobile app, the vertical scroll bar flashes on and then off even when there is not enough content between the header and footer to need a scroll bar.  So how to prevent that from happening?