Refactor 'menu' references to 'leftPanel'.