creation of navigation bar without view