Add center height change dynamically template