detecting both clicks