fixed navigationbar bug where bar was hidden inside issue