Made the whole goal li be removed when it's hidden.