added support for images in navigation bar