title: jQuery Mobile and iScroll Problem
body: <p>So I had found a good solution to solve the fixed header and footer problem in jquery mobile which is the iscoll library. To get the iscroll library to work with the jquery mobile, I'm using this third party script: <a href="https://github.com/yappo/javascript-jquery.mobile.iscroll" rel="nofollow">https://github.com/yappo/javascript-jquery.mobile.iscroll</a></p>
  
  <p>Everything works just fine for my listing pages (using jquery mobile list view). My listing pages are loaded dynamically using ajax. But then, when I created a product detail page that is supposed to scroll, it didn't work at all. In some cases, I couldn't scroll at all. In some other cases, the scrolling behaves like rubber band effect, it always brings you back to the top again. But, the header and footer navigation bars are fixed as what I want it to be.</p>
  
  <p>So, here is the scenario. I have a listing page (with scrolling), when you click on any list item, you should see the product detail on a different page. The iscroll is triggered on pagebeforeshow event as you can see inside the yappo wrapper script. Here is the template of my product detail page. The content will be dynamically loaded and appended to the scroller div.</p>
  
  <pre><code>&lt;!-- PROMOTION DETAIL PAGE --&gt;
    &lt;div data-role="page" id="page-promotion-detail" data-iscroll="enable"&gt; 
        &lt;div class="header" data-role="header"&gt;
            &lt;div class="sub-header-bg"&gt;
                &lt;div class="title"&gt;&lt;/div&gt;
                &lt;a href="#" id="Back" data-rel="back" class="btn-header-left btn-back"&gt;&lt;span&gt;Back&lt;/span&gt;&lt;/a&gt;
                &lt;a href="#" id="Edit" class="btn-header-right btn-edit hidden"&gt;&lt;span&gt;Edit&lt;/span&gt;&lt;/a&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="content" data-role="content" data-theme="anz"&gt;
            &lt;div data-iscroll="scroller" class="scroller"&gt;
                &lt;div data-iscroll="scroller"&gt;&lt;/div&gt;
            &lt;/div&gt;
            &lt;input type="hidden" id="paramPromotionID" name="paramPromotionID" value="" /&gt;
        &lt;/div&gt;
        &lt;div class="footer" data-id="footer" data-role="footer"&gt;
            &lt;div data-role="navbar"&gt;
                &lt;ul&gt;
                    &lt;li&gt;&lt;a id="menuHome" href="#page-home" class="footer-icon footer-icon-home"&gt;Home&lt;/a&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;a id="menuMySpot" href="#page-myspot" class="footer-icon footer-icon-spot"&gt;My Spot&lt;/a&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;a id="menuOtherCountries" href="#page-other-countries" class="footer-icon footer-icon-country"&gt;Others&lt;/a&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;a id="menuSearch" href="#page-search" class="footer-icon footer-icon-search"&gt;Search&lt;/a&gt;&lt;/li&gt;
                &lt;/ul&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>Anyone here knows what i missed out or anyone of you guys managed to get iscroll to work perfectly with jQuery Mobile?</p>
  
  <p>I'm using jQuery Mobile beta 3 and iScroll 3.7.1.</p>
  
  <p>Cheers</p>