Weird L293D and SN754410 behaviour

How many volts are you passing into it? The SN754410 has thermal shutdown protection, and I think I read that when its enabled it functions the same as the 'fast breaking' which if you watch will kinda make the motor fidget back and forth.