added conditional navigation active pages