Go to the end of the file.
Click and hold at the botton
Move Up to mouse.
Mouse stop at the first line of the visible area ( dont scroll to previous lines).
Same happens if want to go the end of the document starting on the up side.
Best regards.