added new functionality for navbar