ert("you have missing the off canvas direction");


				};

			} //end close menu


			//close menu if user click outside of it
			$(window).click(function (e) {
				if ($(e.target).closest('.codehim-dropdown').length) {
					return;
				}
				if ($(e.target).closest(offCanvas).length) {
					return;
				}

				//check if menu really opened
				if ($(hamburger).hasClass("active")) {

					closeMenu();

				}

				$(dimOverlay).fadeOut();

				$(".menu-items").slideUp();
				$(".dr