merged @steipete changes for bitwise check, vertical/horizontal cases, spacing. removed addition of interim/line spacing to match uicollectionview behaviour. merged to the new calculation without using bounds origin.
merged @steipete changes for bitwise check, vertical/horizontal cases, spacing. removed addition of interim/line spacing to match uicollectionview behaviour. merged to the new calculation without using bounds origin.

merged @steipete changes for bitwise check, vertical/horizontal cases,
spacing. removed addition of interim/line spacing to match
uicollectionview behaviour. merged to the new calculation without using
bounds origin.

Amnysia/PSTCollectionView,Kevin775263419/PSTCollectionView,thevuuranusls/PSTCollectionView,CorzFree/PSTCollectionView,godLoveLucifer/PSTCollectionView,zjh171/PSTCollectionView,StephaneDelcroix/PSTCollectionView,ba01ei/PSTImprovedCollectionView,StephaneDelcroix/PSTCollectionView,steipete/PSTCollectionView,zace-yuan/PSTCollectionView,niuxinghua/PSTCollectionView,Anish-kumar-dev/PSTCollectionView,jianwoo/PSTCollectionView