Debugging accordion not closing

the test for the current neighborhood was checking the wrong variable
which wasn't being set properly anyway!