fixing the size changes when there are controllers with toolbars