Creates the zoom function so that we zoom to the actual directions line.