Added id's to all the elements in the list
Dynamically add the class active instead of defining in the navbar file