limit the number of buffers displayed. fixes #221.