adding winner mode to get back to previous window configuration
adding flx matching for ido