hiding appnav when hidden is applied