code: function(direction) {
      var bar = document.createElement('div'),
        indicator = document.createElement('div');
  
      indicator.className = 'scroll-bar-indicator scroll-bar-fade-out';
  
      if (direction == 'h') {
        bar.className = 'scroll-bar scroll-bar-h';
      } else {
        bar.className = 'scroll-bar scroll-bar-v';
      }
  
      bar.appendChild(indicator);
      return bar;
    }
docs: Create a scroll bar div with the given direction *