add getDirections function to list view, fixes #13