move temporary element for caclulating data width to grid template