title: Smoothstate.js Reverse Animation is not working
body: <p>I tried to embed the smoothState.js into my project, but for any reason the reverse/toogle/exiting animation won’t work.
  I really have no more ideas and i couldn’t find a solution on stackoverflow or something else. </p>
  
  <p>My codes:</p>
  
  <p>HTML:</p>
  
  <pre><code> &lt;div id="main" class="m-scene"&gt;
        &lt;!-- Classes that define elment animations --&gt;
              &lt;a href="index.html"&gt;Home&lt;/a&gt;
              &lt;a href="about.html"&gt;About&lt;/a&gt;
        &lt;div class="scene_element scene_element--fadeinright"&gt;
              &lt;p&gt;Home to the boy&lt;/p&gt;
        &lt;/div&gt;
   &lt;/div&gt;
  
   &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="js/jquery.smoothState.js"&gt;&lt;/script&gt;
  &lt;script src="js/functions.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>CSS:(linked to the css files, included in the package of smoothstate)</p>
  
  <p>JS:</p>
  
  <pre><code>$(function(){
    'use strict';
    var $page = $('#main'),
        options = {
          debug: true,
          prefetch: true,
          cacheLength: 2,
          onStart: {
            duration: 250, // Duration of our animation
            render: function ($container) {
              // Add your CSS animation reversing class
              $container.addClass('is-exiting');
              // Restart your animation
              smoothState.restartCSSAnimations();
            }
          },
          onReady: {
            duration: 0,
            render: function ($container, $newContent) {
              // Remove your CSS animation reversing class
              $container.removeClass('is-exiting');
              // Inject the new content
              $container.html($newContent);
            }
          }
        },
        smoothState = $page.smoothState(options).data('smoothState');
  });
  </code></pre>
  
  <p>I really hope someone can help me to get this thing working :)</p>
  
  <p>Thank you in advance.</p>