Refactoring the GLPageCollectionLayer class a little