The easiest way (for me, using javascript) is to create a window inside your scene that extends the Window_Selectable class. It already includes scrolling functions, so you won't need to code them yourself unless you want to change the scrolling behavior.
At least that's how I would make it.