Adds an expand/collapse arrow on the right of expandable layouts.
Refactors show detail layouts into separate layouts for search and default.