revert navbar logic