After using the endless road algorithm as described here, I also implemented the scrolling of walls along with it.
I have the walk animation of the person which is stationed at the center of the screen.

What I did : Background scrolling is implemented according to the endless road algorithm

What's the problem?
The Image of the man is also scrolling like that of the endless road.

What I want : The animation of the person should not scroll but the background should scroll.

I tried along playing with the matrices in openglES using the method...
"gl.glMatrixMode(GL10.GL_TEXTURE)" but the resultant was that the background scrolling stopped but animation was successful.