detect horizontal wins