allow starting REPL on the right or the left
allow starting REPL on the right or the left