handle active navigation