u can introduces a braking system in ur circuit...ur programme must take care that H-bridge and the braking system carefully coz poor programming can harm ur complicated hardware...u can apply flywheel diode and heatsink to get a better result...depend on ur hill specification, braking resistor may be involved...