Added more documentation. 

Added some more documentation to the next-buffer function.