What are you using the motor for? is it something you could just switch off and let slow down for a direction change?. if so a third on off switch before the two relays may help. or a on,off,on switch to give the motor time to fully stop. if not then you can get a 10a hbridge from aliexpress for about a tenner.
