menu with mouse support

- now menu options can be navigated with the mouse

Had to make sure the mouse button was at least depressed once as the
function executes, otherwise a following menu would catch the action
executed on the previous.