fix to show new link or section immediately after it has been added