Added a controller for handling active navigation