add detection of active project pages for menu