fixed bug preventing mobile navigation from working