in mobile clicking anywhere off the menu will close the menu