You're probably referring to the New York Times slidebox. They were one of the first, or at least highest-profile sites to use the technique. There's a demo here of a plugin someone wrote, with link to Github for source. And here's a tutorial implementing a simple version with just some custom jQuery-based JS.