Fix issue with position of last tr: infinite scroll