added components id and changed the components templte so it links to the anchor