listen for window resize and decided if the sticky nav should be visible