make sure the click event is only registered once - fixes #9
fix toggling after clicking a file and going back
1.2.2