Delete navigation bar instead of clearing its content