using now [].every.call() to iterate over all rows of table
simplifyed
splitted scroll function into two anonymous and added these to 
the header
fixed defect for scrolling in div when margin-left is set