resize templates section