added empty functionality to directions div