hide menu on document click