prevent scrolling in browser when navigating in the table (execpt if the selected cell goes off the viewport)