Implement pane option, fix #26