close menu when outside clicked. close #43