This is just a dumb little thing that I've wondered for years how it works and how I can change it. For example, opening a document with vim, or opening a man page, and then exiting out of it will sometimes (depending on the distro) clear the screen and leave your prompt at the very top... other times, it leaves the contents of whatever you had open on-screen and your prompt is at the bottom.
I prefer the latter, so I hope someone has the answer to this elusive mystery.