Revert "Fixed dual pane not working or not changing back to normal"

This reverts commit 9f8f2e7f324d1920102b47619e357a095d972620.