replace HBox and VBox with LayoutNode throughout