moving navigation to seperate file