moving template variable within view instance