adjusted toolbar closure