modularized navigation bar