applying scrolling to the table