A DRIVER who crashed a car which came to rest on its roof had taken a prescription drug following a leg injury.