Check if on touch before altering the main navigation.