Prevent nav jumping if browser resized larger than 40em whilst nav open

Incase anyone resizes the browser whilst the nav is open, this prevents the nav from jumping back up and then showing.