fixes transitions with speed = 0
Merge pull request #14 from mcschneider/master

fixes transitions with speed = 0