created a custom navigation bar size should be adjusted