change the group layout