[epg] fix scrolling in grid if last item ends on next page

This improves the navigation in epg timeline grid and solves the issue
that you can't scroll an item which ends on the next page.
Merge pull request #4392 from xhaggi/fix-epg-scrolling

[epg] fix scrolling in grid if last item ends on next page