finish close tollbar code