title: jQuery mobile - allow only vertical scrolling when side panel is opened?
body: <p>Referencing <a href="https://stackoverflow.com/questions/17946006/jquery-mobile-allow-scrolling-only-when-side-panel-is-closed">this</a> I want to allow only vertical scroll.</p>
  
  <p>The following code will disable all touch moves on a panel.</p>
  
  <pre><code>$(document).on("pageinit", "#form1", function (event) {
      $("#navmenu").on("panelopen", function (event, ui) {
          $("body").css("overflow", "hidden").on("touchmove", stopScroll);
      });
      $("#navmenu").on("panelclose", function (event, ui) {
          $("body").css("overflow", "auto").off("touchmove");
      });
  
      function stopScroll() {
          return false;
      }
  });
  </code></pre>
  
  <p>How can I use "overflow-x: hidden" with the stopScroll function to allow vertical scroll and disable horizontal?</p>
  
  <p>Thanks.</p>