allow change position from slide bar and change background trace