A method for stateful toggling of checkbox status, including detecting a touch
event on a first checkbox, storing the initial status of all checkboxes in the
set, and toggling the status of the first checkbox to a new status. Embodiments
also include repeatedly, for a multiplicity of repetitions, carrying out the steps
of detecting a drag event for a checkbox onto which a user drags the pointer, comparing
the initial status of the checkbox onto which a user drags the pointer and the
new status of the first checkbox, and if the stored initial status of a checkbox
for which a drag event is detected is the same as the new status of the first checkbox,
toggling the status of the checkbox for which a drag event is detected.