Lightbulb [Q] samsung galaxy trend plus problem

when i start for example the Go-Go-Goat game,the character automatically starts jumping on the left,is this some hardware problem,or a glitch / bug? btw its the same when i try to play temple run,character tilts to the left.i got the phone since 5 days ago,i am amazed by it so far,but this is starting to piss me off