Added scripting to change menu behaviour on devices with pointers, remove hovers when not necessary