you can use the body.scrollLeft and body.scrollTop to solute the problem.the more , you must ensure every cols and the first row's position, and must use the absolute postion, in the body.onScroll event ,you can  check where the second col postion(you must check every cols), if the position < body.scrollLeft then you can hidden the second col
and so on, the other cols except the first cols, you all can to checked like this.
to display you already to check,to display the first row in all time, you'd better checked the second row position.when the scroll down, you can check the second row postion < the first row Height ,than you must hidden the second row, and so on , the third, the forthyou can solute your problem.the process is so diffult,you must clearly the mind and the solution, good luck!!!