There's already a full-screen mode. Go into the esc menu and go to settings, then click graphics. You can also bind another key to sliding, like how I used E.