adjust layout container