mouse/scroll buffer integration