remove todo item (back/forward event handling)