fix navigation on mobile, closes #288