add bar to change max distance