Close drop-down menu on click outside of opened one