Device back button only return to the initial page (using Phonegap with JQM)

Device back button only return to the initial page (using Phonegap with JQM)

Hi all,

I am using Phonegap with JQM multi-page setting on a nexus-1 with Android 2.3.

I have 3 pages - 'page1' (the initial loaded page), page2 and page3.


When traversing from 'page1' -> 'page2' -> 'page3' for example, and hitting the device's 'back' button - I get back to 'page1'. (logically, I would expect to go back to the last page I was in - 'page2')

The traversing order doesn't matter really, it seems as if the only page that is kept in memory, is 'page1' (the first page in the document). 

I tried moving between pages using links, and also using the $.mobile.changePage:

$.mobile.changePage( "#page2", {
transition: "pop",
reverse: true,
changeHash: true
});

Even playing with the  reverse &  changeHash attribute didn't seem to work.

Does anyone has any idea how to make that work? 
Is there a queue of visited pages I can add (or remove) pages to?