Fixed motion events

Fixed navigation for menus to work properly for all devices.