add window swap plugin