made menu links not open if current one is clicked again