sepearte navbar into different files and activate it dynamically