title: jQuery Mobile + backbone.js: page transition when going back
body: <p>In the initialize function of my backbone router I have</p>
  
  <pre><code>$(document).on('click', '.back', function(e) {
      e.preventDefault();
      window.history.back();
  });
  </code></pre>
  
  <p>and I define my back buttons like</p>
  
  <pre><code>&lt;a data-rel="back" class="back"&gt;Back&lt;/a&gt;
  </code></pre>
  
  <p>The thing is I would like to change the transition and the direction (reverse = true) when I go back, currently it uses the default one.</p>
  
  <p>By the way backbone is in charge of creating pages and routing, I use JQ Mobile only for the UI (you can see how I change pages there: <a href="https://stackoverflow.com/questions/11192722/jquery-mobile-backbone-js-navbar-issue">jQuery Mobile + backbone.js: navbar issue</a>).</p>
  
  <p>Thanks.</p>