anchor.diff:          return url;
       };
       var isDownScrollDetect = function(lastScrollTop, currentScroll){
  -        return currentScroll > lastScrollTop;
  +        return currentScroll > 0 && currentScroll >= lastScrollTop;
       };
   
       var tabheaderUl = $('#tabheaders');
  
positive.code:             }
  
              lastScrollTop = currentScroll;
          });
      };
  
      $('#controlls').submit(function () {
  
negative.code:                         panel.children().slice(0, data.numberOfLinesReturned).remove();
                      }
                  })
              } else if(!isFetchingLines && !isDownScroll && currentScroll <= 50){
                  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);
  