Use content offset
Add support for fixed-width segments and fixed-height rows