Topologically reconfigurable magnetic polaritons