added extra logic to check and enforce that a section width cannot be greater than the collection view width