Trouble with H-Bridge

Zoomkat - Why do you recommend putting a cap between 5V & ground?

It will act somewhat like a battery backup for power on the arduino board. When the motor tries to start, it may pull the single power supply output voltage so low that the arduino board has a power blackout and resets.