add padding for popups according to toolbars