Dynamic Category Items and Fixed cat selection

-made a loop to print all the nav categories
-fixed the selection category ( changes background colour of the one
currently selected)
-fixed : if there is no category selected it reloads the page and sets
the cat to 'all'