Fix bug with mobile navigation.