drop auto-generated ids

Change-Id: I0163a7235630858c22bfd1919c3d1d36d273cef9
don't hardcode number of pages

Change-Id: I3ef2da3ee498139a51be4112292249ddbd3abcfc
hardcoded layout_width -> wrap_content + maxWidth

Change-Id: I3eec85e8f092f8bf505ec9cc9cd72d57320692be