switch checkbox groups to vertical layout when more than 3 options (retain char length condition)