Refactoring: rename left/right to main/detail

Just a dumb search and replace, but things seems to still work