If the value of something in indexOffsetAfterDividerIndex is 0, re-calculate it if dividerIndexes.length is not 0
Use different css class to make sure grid and list view are rendered correctly, rather than setting style with js