Player movement with touch

i did player movement left and right with touch ,but player movement stuck sometimes.
editor link:PlayCanvas | HTML5 Game Engine

i want better than this player movement , give me any suggestion.
thank you.

I have a movement script that you can use or tweak at to your interests if you want I use it to run how the player moves in my game matrexball