util.magnify_client: toggle mode added