layout manager improvements