added up/down key for changing distance