Optimized item frame calculations and layoutAttributesForElementsInRect

Optimized item frame calculations and layoutAttributesForElementsInRect, even with 1000 sections it runs smooth