Fixed collapsing issue when clicking link