make layout title dynamic