Jumping 2 pages back...why?

Jumping 2 pages back...why?

I have 3 pages. From page 1 (starpage) i can tap and go to page 2. And from page 2 i can tap and go to page 3. If i use the Android back button (from page 3) i go back to page 2. And if i tap to go to page 3 and then use the Android Back button. I jump back to the startpage....why?

index.html is "startpage" my code looks like this:

$( '#page2' ).on( 'pagebeforeshow',function(event)
{
    $("#settings2").on('tap',function()
    {
        $.mobile.changePage('page3.html');
        return false;
   
    });
});


$( '#startpage' ).on( 'pagebeforecreate',function(event)
{
    $("#info").on('tap',function(e)
    {
        $.mobile.changePage('page2.html');
        return false;
   
    });    
});