$(function(){

  $('.nano').nanoScroller({
    preventPageScrolling: true
  });
  $("#main").find('.description').load("readme.html", function(){
    $(".nano").nanoScroller();
  });


});


$(function(){

  $('.nano').nanoScroller({
    preventPageScrolling: true
  });
  $("#main").find('.description').load("readme.html", function(){
    setTimeout(function() {
        $(".nano").nanoScroller();
    }, 100);
  });


});


Fix demo page to have a small delay before calling nanoScroller