Scaling Translate Problem

I started learning OpenGL ES and Blender

Made a simple house in blender and able to render in OpenGL ES - Image below

[ATTACH=CONFIG]698[/ATTACH]

For now am just looking at front wall - Divided in 2 parts the bottom rectangle and the top Triangle

Now, i am stuck at this part : My objective is to increase height of top triangle, so to this i scale only the triangle part, but the thing is the top triangles alignment changes (Translate happens it seems) by scaling it…Like below image

[ATTACH=CONFIG]699[/ATTACH]

However the desired output should be - Image below

[ATTACH=CONFIG]700[/ATTACH]

Any ideas on what i am doing wrong ?

Thanks…