added navbar functionality and design