Detecting shaking for deleting a homework item