12v batteries in series with two motors

Hello,
I am building my own 24v trike. Power will be provided by two 12 volt batteries in series. Because of the logistics of the batteries and motors I was hoping I could attach one 24 volt motor to either end of the batteries with a switch on the positive side of each motor. It seems like it should work but I’m not sure. Does anyone know if this will work?
Here’s a link to what I am talking about…
http://i273.photobucket.com/albums/jj211/greengothica1/24seriessetup.jpg
Thanks, JY