Do we want to make this work with hashes on separate pages instead of just within the current page?
If you do decide to fix it this should do the trick on line 34:
if ( ! $( app.hash ) )
change to:
if ( ! $( app.hash ) || location.pathname.replace(/^\//,'') != this.pathname.replace(/^\//,'') )