Implemeted a layout manager on the detail view GUI.