use right check for end of timeline and avoid bad interactions with forward pagination. thanks @richvdh
use right check for end of timeline
and avoid bad interactions with forward pagination. thanks @richvdh

matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,aperezdc/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,aperezdc/matrix-react-sdk,aperezdc/matrix-react-sdk,matrix-org/matrix-react-sdk,aperezdc/matrix-react-sdk