navbar: add _destroy and refactoring