Optomises the menu system

Optomises the menu system so that it uses CSS to determine whether or not to display a hidden menu, rather than using a JS event listener