libraries + navbar selection fix