adding the invisible class on the parent ul of any li that is clicked