integrating title and subtitle in the layout