anchor.diff:              }
   
               lastScrollTop = currentScroll;
  -        });
  +        };
  +        var handler = function (e, elName) {
  +            debug('onscroll ' + e + ' ' + elName)
  +        };
  +        window.onscroll  = scrollhandler;
  +        window.onwheel  = scrollhandler;
  +        window.onmousewheel  = scrollhandler;
       };
   
       $('#controlls').submit(function () {
  
positive.code:                         panel.children().slice(0, data.numberOfLinesReturned).remove();
                      }
                  })
              } else if(!isFetchingLines && !isDownScroll && currentScroll <= 20){
                  debug('upward scroll, near top - so loading previous lines.');
                  isFetchingLines = true;
                  var upurl = '<aksess:geturl url="/admin/tools/logreader/logfiles/"/>' + filename + '.action?startline=' + (currentLine - numberOfLinesToFetch);
  
negative.code:         return url;
      };
      var isDownScrollDetect = function(lastScrollTop, currentScroll){
          return currentScroll > 0 && currentScroll >= lastScrollTop;
      };
  
      var tabheaderUl = $('#tabheaders');
  