Only fire smallscreen nav script if there is a nav.