Correct bug cellDirective.js when scrolling