Hide navigation on outside clicks