Add function to CoffeeScript to hide nav on resize if > 768