added mouse input on menu