removes nav html element