Road trip with dogs

What works best that won't make them panic on a long road trip. My dog jumps on my lap and purchasing a divider might be the solution. I am a bit hesitating because they might be more aggressive to try to remove the barrier. The only divider for Subaru is