fixed a bug on move right/left 


Signed-off-by: Jefferson Cordero <jepjephooray05@gmail.com>