You need to create a DIV that wraps jstree-DIV, something like this:
<div id="wrap"> <div id="jstree">
Now set the CSS overflow property of the shell to automatic and set the maximum size:
#wrap { width: 200px; height: 400px; overflow: auto; }
Ivan
source share