close visualisation on click on background