move title and surr div to template