The preprocess_field now, dynamically, calculates a smaller version of the grid layout for the sections. I also added a lot of comments that is more descriptive.