1. A computer implemented method, comprising: detecting a first physical movement of a device; interpreting the first physical movement of the device; rendering a sliding panel user interface (UI) element in response to the first physical movement, wherein the rendering is based on the first physical movement of the device and a first simulated magnetic force pulling the sliding panel UI element in a first direction; detecting a second physical movement of the device within a predetermined period of time, the second physical movement being predominantly in an opposite direction to the first physical movement; adjusting a set of parameters based on the second physical movement, wherein a second simulated magnetic force is configured to pull the sliding panel UI element in a second direction, the second simulated magnetic force based on the set of parameters; and storing the set of parameters in a memory for future use.