fixed bug where if the setting button is pressed and then a sidenav button is quickly pressed the sidenav is still visible when returning from that sidenav page