allowing the user to discard the navigation links with a close icon.