Added mouse functionality to the menu