properly using the isNavTrasparent property