Moving the collection view layout into the flow layout subclass.