HeaderLayout - got most of the functionality working