Correctly handle "toggle visibility" and drag and drop requests via Ajax