yscrollcommand=lambda f, l: self.autoscroll(self.vsb, f, l), xscrollcommand=lambda f, l:self.autoscroll(self.hsb, f, l)

		self.vsb = ttk.Scrollbar(self, orient="vertical")
		self.hsb = ttk.Scrollbar(self, orient="horizontal")

		self.vsb['command'] = self.tree.yview
		self.hsb['command'] = self.tree.xview

		self.vsb.grid(column=1, row=0, sticky='ns')
		self.hsb.grid(column=0, row=1, sticky='ew')

	def autoscroll(self, sbar, first, last):
		first, last = float(first), float(last)
		if first <= 0 and last >= 1:
			sbar.grid_remove()
		else:
			sbar.grid()
		sbar.set(first, last)
