title: jquery-slimscroll how to bind and unbind the scroll event
body: <p>I am trying to bind and unbind a scroll event. but i count. any one help me please/</p>
  
  <p>my code :</p>
  
  <pre><code>$(container).slimScroll().
  bind('slimscroll', function(e, pos){
      if(pos == 'bottom') {
          $.event.trigger('bottomReached');
      }
  });
  
  $("#off").click(function () {
      container.slimScroll().off('slimscroll');
  });
  
  $("#on").click(function () {
      container.slimScroll().on('slimscroll');
  });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/L6q58tf9/26/+" rel="nofollow">Live</a></p>