add distance slider