destroy links and navbar