part of navigationbar port

Change-Id: I713496f276334de66d742d67ec1023d54326f5b9