added panning. better zoom