Merge pull request #8041 from borjasalguero/infinite_scroll

Bug 827815 - [SMS][Optimization] Pagination in SMS keeping the cursor. r...(cherry picked from commit d194b975a843eb6136eef0d8eda7449908285f52)
(cherry picked from commit bbf2b241e478c3f7caa98c61e459772d579d9a68)