implement left and right movement in tag editor