It sounds like you are trying to make a vbox that floats with the scrollbar. Instead of using a listener, you could try binding the scrollbar value property to the appropriate vbox layout dimension. E.g.
ScrollBar bar = new ScrollBar();
VBox box = new VBox();
box.layoutYProperty().bind(bar.valueProperty());
However, if you are just placing the VBox in the center of the borderpane, then this may not work depending on how you have the VBox placed in the borderpane. You may need to wrap the VBox in an AnchorPane so that you can do absolute positioning like this.
I am not 100% sure this will work, but you might want to give it a try. Good luck.
- chooks