working on nav bar

to fix:
-connection between views
-make the subviewview shows only embedded component once has been clicked
fixed link problem
Working on navigation