adding optional title css class to toolbar