added direct link support to the navbar