Added function for setting href in the navbar as active