disable detail button when nav is open