added gesture recognisers to dismiss the menu
added M13checkbox control for menu