added initialization documentation for navbar