allow the user to set the amount of info boxes per row as well as set it to display vertically or horizontally. setting it to 0 will default to normal horizontal behavior