Settings - Customize Toolbars and Keys...(v12 Customize Toolbars) - double-click the "Metadata Pane Button" and change the command. Same for the Viewer Pane Button.
Alternative: Preferences / Location Bar / Options / Horizontal/vertical Layout button