Clean up nav dropdown function on window scroll