Added function to set active on navbar entries