fix for navigation on android and ubuntu desktop