Switch to document-based sample to make sure it works in multiple windows
Adjust height for full-height items

Full-height items should actually be a few pixels short on the bottom to look nice.