add margin to vbox and hbox