navbar selection working