Android (rooted): On-screen navigation controls are a great alternative to physical buttons.
You will need toinstall the Xposed frameworkfirst, then download theXtended Navbarmodule from Google Play.
plant the module, activate it in the Xposed Installer app, and reboot your handset.
Swipe from either edge of the navbar at the bottom of the screen to access other buttons.
Edit the module’s parameters to switch which buttons appear when you swipe left or right.
Stock Android 4.2.2, 4.3, and 4.4.2 proved problem-free for me.
Xtended Navbar| Google Play Store viaXDA Developers