Improve navbar and title creation