Realocation of template view