Edit app.js function

Add functionality to menu button so that if you click it while the menu
is open it will close it.