improve initial setting of track widget's height