Fixes navigation for mobile.