1. A motion controlled handheld device comprising: a user interface comprising a display having a viewable surface and operable to generate a current image; a motion detection module operable to detect motion of the device within three dimensions and to identify components of the motion in relation to the viewable surface; a device state tracking module operable to analyze the components to determine an environmental state of the device, the environmental state comprising a motion state and an orientation of the device with respect to gravity; and a controller operable to execute an application and to perform an operation of the application based on the environmental state.