page showing from cache , blinking and back to page

page showing from cache , blinking and back to page

i have some page in my app, 
suppose i logout(click) from my app then successfully go the logout_page , suddenly last page i visited appearing and go back to the logout_page again .

I done data-cache="never" in page , but app getting hang . 

1) i checked event but . only one event is firing .
2) i realised that the page showing again is a dummy one from memory . 
3) how can i solve this issue ,

i am using the below code to logout 
  1. $("#drLoginButton_ac").unbind();
  2.     $("#drLoginButton_ac").bind('click',function(event, ui)
  3.        {
  4.     message(" loout click");
  5.     logout_main();
  6.     message("after loout click");
  7.        });


and this is the logout function 


  1. function logout_main()
  2. {
  3.   $.mobile.urlHistory.clear;
  4.      
  5.       window.localStorage.clear();
  6.       if(parseInt(android_version) < 3)
  7.       {
  8.       $.mobile.changePage('index.html#page3_loginmain', { transition: "fade"});
  9.           $('index.html#page3_loginmain').trigger('create'); 
  10.       }
  11.       else
  12.       {
  13.       $.mobile.changePage('index.html#page3_loginmain', { transition: "slide"});
  14.       $('index.html#page3_loginmain').trigger('create'); 
  15.       }
  16.    
  17. }

My jquery version is : js/jquery.mobile-1.0.min.js
thanks 
Sarath