Adjust layout of list and details.