layout inserts sections in a more logical manner