Back button behaviour

Back button behaviour

I'm having challenges with the behavior of the back button.  If I have several internal pages and click through multiple levels then BACK does not navigate back through the levels to return to top level.  

See below for the set of pages.

Steps to reproduce.
1) Open file - #MainMenu is shown
2)  Click "About" link - #AboutPage is shown
3) Click "Details" link - #AboutDetailPage is shown
4) Click back button - #AboutPage is shown
5) Click back button - #AboutDetailPage is shown  (My expectation here is the #MainMenu should be shown)
6) Click back button - #AboutPage is shown

I get the same behavior using the browser's back button or the auto generated button on the header.

Here's the pages I'm testing with:
  1.     <div id="MainMenu" data-role="page" >
  2.         <div data-role="header">
  3.             <h1>MobileTest</h1>
  4.         </div>
  5.         <div data-role="content">
  6.             <ul data-role="listview">
  7.                 <li><a href="#AboutPage">About</a></li>
  8.                 <li><a href="#TestPage">Test Page</a></li>
  9.             </ul>
  10.         </div>
  11.     </div>

  12.     <div id="AboutPage" data-role="page" >
  13.         <div data-role="header">
  14.             <h1>About</h1>
  15.         </div>
  16.         <div data-role="content">
  17.             <h2>About</h2>
  18. <a href="#AboutDetailPage" />Details</a>
  19.         </div>
  20.     </div>

  21.     
  22.     <div id="AboutDetailPage" data-role="page" >
  23.         <div data-role="header">
  24.             <h1>About-Details</h1>
  25.         </div>
  26.         <div data-role="content">
  27.             <h2>About-Details</h2>
  28.         </div>
  29.     </div>

  30. <div id="TestPage" data-role="page" >
  31.         <div data-role="header">
  32.             <h1>Test</h1>
  33.         </div>
  34.         <div data-role="content">
  35.             <h2>Test Page</h2>
  36.         </div>
  37.     </div>