fixing bug with directions view not toggling on older devices