I know you're trying to help, but this doesn't necessarily answer the OP's question.
Your answer seems to completely remove the sidebar. And the OP's asking for a solution to position the Sidebar's Toggle Button on the middle-right of the screen on a fixed position.