I am using pagination on react-table. And everytime I change the page after clicking next. If the size of next page is less than the previous changes I lose my cursor positi