$.mobile.changePage shows 'to' page, but then sends back to 'from' page

$.mobile.changePage shows 'to' page, but then sends back to 'from' page

Hello everyone,
I'v been playing around with jquery mobile and I have to say that i like it. I have came across this issue - I have two pages and I have connected to the 'swipe' event and I am trying to go from one page to other. It works fine, but after few swipes it starts to behave weird. I am on page1 and I swipe to page2 which shows up and then it seems like changePage is triggered immediately again and takes me back to page1. Could anyone give me advice what am I doing wrong?
Here is my code of page1:
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5.   <meta name="viewport" content="width=device-width, initial-scale=1"> 
  6.   <title>Page1</title>    
  7.   <link rel="stylesheet" href="css/jquery.mobile-1.2.0.css" />    
  8.   <script type="text/javascript" src="js/jquery-1.8.2.js"></script>          
  9.   <script type="text/javascript" src="js/jquery.mobile-1.2.0.js"></script>     
  10. </head>
  11. <body>
  12. <!--HEADER-->
  13. <div id="page1" data-role="page">
  14. <script type="text/javascript">
  15. $("#page1").live('swipeleft',function(){
  16. $.mobile.changePage("/t/page2.html")
  17. })
  18. </script>
  19. <div id="header" data-role="header" data-position="fixed" data-theme="b">
  20. <h1>Page 1</h1>
  21. <p class="ui-btn-right time" style="margin-top:.6em;"></p>
  22. <div data-role="navbar">
  23. <ul>
  24. <li><a href="/t/page1.html" class="ui-btn-active ui-state-persist" data-prefetch>Page 1</a></li>
  25. <li><a href="/t/page2.html" data-prefetch>Page 2</a></li>
  26. </ul>
  27. </div>
  28. </div>
  29. <!--CONTENT-->
  30. <div id="content" data-role="content" style="height: 100%;">
  31.       This is page 1.
  32. </div>
  33. <!--FOOTER-->
  34. <div id="footer" data-role="footer" data-position="fixed" data-theme="b">
  35. <h3>2012 &copy; Me</h3>
  36. </div>
  37. </div>
  38. </body>
  39. </html>
And here is code of my page2:
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5.   <meta name="viewport" content="width=device-width, initial-scale=1"> 
  6.   <title>Page2</title>    
  7.   <link rel="stylesheet" href="css/jquery.mobile-1.2.0.css" />    
  8.   <script type="text/javascript" src="js/jquery-1.8.2.js"></script>          
  9.   <script type="text/javascript" src="js/jquery.mobile-1.2.0.js"></script>       
  10. </head>
  11. <body>
  12. <div id="page2" data-role="page">
  13. <script type="text/javascript">
  14. $("#page2").live('swiperight',function(){
  15. $.mobile.changePage("/t/page1.html")
  16. })
  17. </script>
  18. <!--HEADER-->
  19. <div id="header" data-role="header" data-position="fixed" data-theme="b">
  20. <h1>Page 2</h1>
  21. <p class="ui-btn-right time" style="margin-top:.6em;"></p>
  22. <div data-role="navbar">
  23. <ul>
  24. <li><a href="/t/page1.html" data-prefetch>Page 1</a></li>
  25. <li><a href="/t/page2.html" class="ui-btn-active ui-state-persist" data-prefetch>Page 2</a></li>
  26. </ul>
  27. </div>
  28. </div>
  29. <!--CONTENT-->
  30. <div id="content" data-role="content" style="height: 100%;">
  31.       This is page 2
  32. </div>
  33. <!--FOOTER-->
  34. <div id="footer" data-role="footer" data-position="fixed" data-theme="b">
  35. <h3>2012 &copy; Me</h3>
  36. </div>
  37. </div>
  38. </body>
  39. </html>
I'v been testing this with latest Google Chrome on Windows XP.