merge right clear and left clear into move right and move left

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